// pages/sc/button/button.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    gender:'2',
  },

  //clickBtn
  clickBtn(e){

    // const xxxx = e.target.dataset.xxxx
    const {xxxx,a,b} = e.target.dataset
    console.log(xxxx);
  },
  // clickBtn:function(){
      
  //   }
  getGender(event){

    const gender  = event.detail.value;

    this.setData({gender});
  },
  getFav(event){
    const favs  = event.detail.value;
    console.log(favs)
    
  }
})